﻿@using SYJ.Model.Entities;

@{
    //ViewBag.Title = "Home";
    Layout = "~/Areas/user/Views/Shared/_Layout.cshtml";
}

<div class="fly-home" style="background-image: url();">

    @{ var user = (SysUser)Session["UserKey"];
     if (user != null && user.id > 0)
     {
        <img src="@user.avatar" alt="@user.avatar">
        <h1>
            @user.nickname
            @if (user.sex == "男")
            {
                <i class="iconfont icon-nan"></i>
            }
            else
            {
                <i class="iconfont icon-nv"></i>
            }
        </h1>
        <p class="fly-home-info">
            <i class="iconfont icon-zuichun" title="飞吻"></i><span style="color: #FF7200;"> @user.love_count</span>
            <i class="iconfont icon-shijian"></i><span> @user.create_time.Value.ToString("yyyy-MM-dd") 加入</span>
            <i class="iconfont icon-chengshi"></i><span>@user.title</span>
        </p>
        <p class="fly-home-sign">（@user.signature）</p>
     }
    }
</div>
<div class="main fly-home-main">

</div>
